package com.cqy.resource2.web;

import com.cqy.api.SayHello;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SayHelloController implements SayHello {

    @Override
    public String hello(String text) {
        return "R2 said: hello " + text + "!";
    }
}
